using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public class Pos_SalesMaster
{
    public Pos_SalesMaster()
    {
    }

    public Pos_SalesMaster
        (
        int pos_SalesMasterID, 
        int localSalesMasterID, 
        int invoiceNo, 
        int workStationID, 
        DateTime salesDate, 
        int salesReturnID, 
        decimal cashSales, 
        int cashSalesJournalDetailID, 
        decimal dBBLAmount, 
        decimal cityAmount, 
        decimal vATPercentage, 
        decimal vATAmount, 
        decimal discountPercentage, 
        decimal discountAmount, 
        decimal refundAmount, 
        int salesPerson, 
        int referrence, 
        int customer, 
        string mobileNo, 
        string customerName, 
        string note, 
        int localJournalMasterID, 
        int localTransactionMasterID, 
        int localReturnTransactionMasterID, 
        int serverJournalMasterID, 
        int serverTransactionMasterID, 
        int serverReturnTransactionMasterID, 
        int statusID, 
        string extraField1, 
        string extraField2, 
        string extraField3, 
        string extraField4, 
        string extraField5, 
        string extraField6, 
        string extraField7, 
        string extraField8, 
        string extraField9, 
        string extraField10
        )
    {
        this.Pos_SalesMasterID = pos_SalesMasterID;
        this.LocalSalesMasterID = localSalesMasterID;
        this.InvoiceNo = invoiceNo;
        this.WorkStationID = workStationID;
        this.SalesDate = salesDate;
        this.SalesReturnID = salesReturnID;
        this.CashSales = cashSales;
        this.CashSalesJournalDetailID = cashSalesJournalDetailID;
        this.DBBLAmount = dBBLAmount;
        this.CityAmount = cityAmount;
        this.VATPercentage = vATPercentage;
        this.VATAmount = vATAmount;
        this.DiscountPercentage = discountPercentage;
        this.DiscountAmount = discountAmount;
        this.RefundAmount = refundAmount;
        this.SalesPerson = salesPerson;
        this.Referrence = referrence;
        this.Customer = customer;
        this.MobileNo = mobileNo;
        this.CustomerName = customerName;
        this.Note = note;
        this.LocalJournalMasterID = localJournalMasterID;
        this.LocalTransactionMasterID = localTransactionMasterID;
        this.LocalReturnTransactionMasterID = localReturnTransactionMasterID;
        this.ServerJournalMasterID = serverJournalMasterID;
        this.ServerTransactionMasterID = serverTransactionMasterID;
        this.ServerReturnTransactionMasterID = serverReturnTransactionMasterID;
        this.StatusID = statusID;
        this.ExtraField1 = extraField1;
        this.ExtraField2 = extraField2;
        this.ExtraField3 = extraField3;
        this.ExtraField4 = extraField4;
        this.ExtraField5 = extraField5;
        this.ExtraField6 = extraField6;
        this.ExtraField7 = extraField7;
        this.ExtraField8 = extraField8;
        this.ExtraField9 = extraField9;
        this.ExtraField10 = extraField10;
    }


    private int _pos_SalesMasterID;
    public int Pos_SalesMasterID
    {
        get { return _pos_SalesMasterID; }
        set { _pos_SalesMasterID = value; }
    }

    private int _localSalesMasterID;
    public int LocalSalesMasterID
    {
        get { return _localSalesMasterID; }
        set { _localSalesMasterID = value; }
    }

    private int _invoiceNo;
    public int InvoiceNo
    {
        get { return _invoiceNo; }
        set { _invoiceNo = value; }
    }

    private int _workStationID;
    public int WorkStationID
    {
        get { return _workStationID; }
        set { _workStationID = value; }
    }

    private DateTime _salesDate;
    public DateTime SalesDate
    {
        get { return _salesDate; }
        set { _salesDate = value; }
    }

    private int _salesReturnID;
    public int SalesReturnID
    {
        get { return _salesReturnID; }
        set { _salesReturnID = value; }
    }

    private decimal _cashSales;
    public decimal CashSales
    {
        get { return _cashSales; }
        set { _cashSales = value; }
    }

    private int _cashSalesJournalDetailID;
    public int CashSalesJournalDetailID
    {
        get { return _cashSalesJournalDetailID; }
        set { _cashSalesJournalDetailID = value; }
    }

    private decimal _dBBLAmount;
    public decimal DBBLAmount
    {
        get { return _dBBLAmount; }
        set { _dBBLAmount = value; }
    }

    private decimal _cityAmount;
    public decimal CityAmount
    {
        get { return _cityAmount; }
        set { _cityAmount = value; }
    }

    private decimal _vATPercentage;
    public decimal VATPercentage
    {
        get { return _vATPercentage; }
        set { _vATPercentage = value; }
    }

    private decimal _vATAmount;
    public decimal VATAmount
    {
        get { return _vATAmount; }
        set { _vATAmount = value; }
    }

    private decimal _discountPercentage;
    public decimal DiscountPercentage
    {
        get { return _discountPercentage; }
        set { _discountPercentage = value; }
    }

    private decimal _discountAmount;
    public decimal DiscountAmount
    {
        get { return _discountAmount; }
        set { _discountAmount = value; }
    }

    private decimal _refundAmount;
    public decimal RefundAmount
    {
        get { return _refundAmount; }
        set { _refundAmount = value; }
    }

    private int _salesPerson;
    public int SalesPerson
    {
        get { return _salesPerson; }
        set { _salesPerson = value; }
    }

    private int _referrence;
    public int Referrence
    {
        get { return _referrence; }
        set { _referrence = value; }
    }

    private int _customer;
    public int Customer
    {
        get { return _customer; }
        set { _customer = value; }
    }

    private string _mobileNo;
    public string MobileNo
    {
        get { return _mobileNo; }
        set { _mobileNo = value; }
    }

    private string _customerName;
    public string CustomerName
    {
        get { return _customerName; }
        set { _customerName = value; }
    }

    private string _note;
    public string Note
    {
        get { return _note; }
        set { _note = value; }
    }

    private int _localJournalMasterID;
    public int LocalJournalMasterID
    {
        get { return _localJournalMasterID; }
        set { _localJournalMasterID = value; }
    }

    private int _localTransactionMasterID;
    public int LocalTransactionMasterID
    {
        get { return _localTransactionMasterID; }
        set { _localTransactionMasterID = value; }
    }

    private int _localReturnTransactionMasterID;
    public int LocalReturnTransactionMasterID
    {
        get { return _localReturnTransactionMasterID; }
        set { _localReturnTransactionMasterID = value; }
    }

    private int _serverJournalMasterID;
    public int ServerJournalMasterID
    {
        get { return _serverJournalMasterID; }
        set { _serverJournalMasterID = value; }
    }

    private int _serverTransactionMasterID;
    public int ServerTransactionMasterID
    {
        get { return _serverTransactionMasterID; }
        set { _serverTransactionMasterID = value; }
    }

    private int _serverReturnTransactionMasterID;
    public int ServerReturnTransactionMasterID
    {
        get { return _serverReturnTransactionMasterID; }
        set { _serverReturnTransactionMasterID = value; }
    }

    private int _statusID;
    public int StatusID
    {
        get { return _statusID; }
        set { _statusID = value; }
    }

    private string _extraField1;
    public string ExtraField1
    {
        get { return _extraField1; }
        set { _extraField1 = value; }
    }

    private string _extraField2;
    public string ExtraField2
    {
        get { return _extraField2; }
        set { _extraField2 = value; }
    }

    private string _extraField3;
    public string ExtraField3
    {
        get { return _extraField3; }
        set { _extraField3 = value; }
    }

    private string _extraField4;
    public string ExtraField4
    {
        get { return _extraField4; }
        set { _extraField4 = value; }
    }

    private string _extraField5;
    public string ExtraField5
    {
        get { return _extraField5; }
        set { _extraField5 = value; }
    }

    private string _extraField6;
    public string ExtraField6
    {
        get { return _extraField6; }
        set { _extraField6 = value; }
    }

    private string _extraField7;
    public string ExtraField7
    {
        get { return _extraField7; }
        set { _extraField7 = value; }
    }

    private string _extraField8;
    public string ExtraField8
    {
        get { return _extraField8; }
        set { _extraField8 = value; }
    }

    private string _extraField9;
    public string ExtraField9
    {
        get { return _extraField9; }
        set { _extraField9 = value; }
    }

    private string _extraField10;
    public string ExtraField10
    {
        get { return _extraField10; }
        set { _extraField10 = value; }
    }
}
